#ifndef SETTINGS_H
#define SETTINGS_H

#include <QString>
#include <QSettings>

class Settings {
public:
    Settings();
    ~Settings();

    void    getConfigInfos();

    bool    getTempInfo();
    bool    getHumiInfo();
    int     getZyclus();
    bool    getDB();
    QString getSensors();
    int     countMeasures();

private:
    QSettings mSetting;
    QString mSensors;

    bool    mTempInfo,
            mHumiInfo,
            mHasDB;
    int     mZyclus,
            mCountMeasures;
};

#endif
